<?php


namespace App\Http\ModelDao\BankAcount;


class SuperviseAccountMoneyDao
{
    /**
     * 响应数据格式转换为序号数组
     *
     * @param $result
     *
     * @return array
     */
    public static function numberResult($result)
    {
        $data = [];
        foreach ($result as $val) {
            $data[] = [
              $val->ctime,
              $val->city_name,
              $val->ledger_subject_name,
              $val->reg_acc_no,
              $val->transferred_amt,
              $val->frozen_amt,
            ];
        }
        return $data;
    }
}
